package com.neusoft.elm.dao;

import com.neusoft.elm.po.Cart;

import java.util.List;

/**
 * 购物车方法接口
 * DAO
 */
public interface CartDao {

    //新增购物车
    public int saveCart(Cart cart) throws Exception;
    //更新购物车
    public int updateCart(Cart cart) throws Exception;
    //删除购物车
    public int removeCart(Cart cart) throws Exception;
    //列出购物车信息
    public List<Cart> listCart(Cart cart) throws Exception;

}
